Skip to main content

XPDFViewer_Text

Type

function

Summary

Return the text of a page in ANSI.

Syntax

XPDFViewer_Text(<viewerName>, <pageNumber>)

Description

This function should be considered deprecated in favor of XPDFViewer_Unicode.

The following errors may be thrown by the command:

  • XPDF_ERROR: incorrect number of parameters
  • XPDF_ERROR: PDF viewer not found

Parameters

NameTypeDescription

viewerName

string

The name of the viewer.

pageNumber

integer

The pageNumber to return the text of.

Examples

put XPDFViewer_Text("Document1",3) into fld "page text"

Value

NameTypeDescription

return

The text of the page.

Compatibility and Support

Introduced

LiveCode 1.0.0

OS

mac

windows

Platforms

desktop

Thank you for your feedback!

Was this page helpful?